package com.ruoyi.project.mobile.utils;

import com.github.wxpay.sdk.WXPayConfig;

import java.io.InputStream;

public class WxPayConfigRuImpl implements WXPayConfig {
    private WxPayConfigRuImpl(){}

    private static WxPayConfigRuImpl wxPayConfigRu = null;

    public static WxPayConfigRuImpl getInstance(){
        if(wxPayConfigRu==null){
            return new WxPayConfigRuImpl();
        }
        return wxPayConfigRu;
    }
    @Override
    public String getAppID() {
        return "wxc0574270723e1af8";
    }

    @Override
    public String getMchID() {
        return "1601030220";
    }

    @Override
    public String getKey() {
        return "803hqka71x4vi7xycdkugctyyx3pb911";
    }

    @Override
    public InputStream getCertStream() {
        return null;
    }

    @Override
    public int getHttpConnectTimeoutMs() {
        return 10000;
    }

    @Override
    public int getHttpReadTimeoutMs() {
        return 10000;
    }
}
